{template 'header'}
 <link type="text/css" rel="stylesheet" href="{php echo IMS_VERSION>=0.6?"../addons":"./source/modules"}/cw_weijiajiao/template/css/online_booking.css">
<link rel="stylesheet" type="text/css" href="{php echo IMS_VERSION>=0.6?"../addons":"./source/modules"}/cw_weijiajiao/template/css/common.css" media="all">
<link rel="stylesheet" type="text/css" href="{php echo IMS_VERSION>=0.6?"../addons":"./source/modules"}/cw_weijiajiao/template/css/pig-ui.css" media="all">
<title>我的报名</title>

<style>
    #plug-wrap{z-index: 0}
</style>
<style>
.head{height:40px; line-height:40px; background:#fdfdfd; margin-bottom:5px; padding:0 5px; color:#FFF;}
.head .bn{display:inline-block; height:30px; line-height:30px; padding:0 10px; margin-top:4px; font-size:20px; border:1px #efefef solid; background:#efefef; color:#999999; text-decoration:none;}
.head .bn.pull-right{position:absolute; right:5px; top:0;}
.head .title{font-size:14pt;display:block;padding-left:10px;font-weight:bolder;margin-right:49px;text-align:center;height:40px;line-height:40px;text-overflow:ellipsis;white-space:nowrap;overflow: hidden;color:#999999;}

</style>
<body onselectstart="return true;" ondragstart="return false;" id="onlinebooking-list">

<div class="cardexplain">
    <div class="head">
    <a href="javascript:history.go(-1);" class="bn pull-left"><i class="icon-reply">←</i></a>
    <span class="title">我的报名</span>
    </div>
	<div>
        <a href=""><img src="{$_W['attachurl']}{$info_picurl}" alt="" style="width:100%;height:400px;" /></a>
    </div>
<ul class="round">
{if empty($rebs)}
<a href="javascript:;">
      
</a>
<li>
    <a href="javascript:;"></a>
    <div class="text">
        <a href="javascript:;">
            <span style="font-size: 24px">还没有预约报名。</span>
        </a>
    </div>

</li>
{/if}

{loop $rebs $vo}
<a href="javascript:;">
        <li class="title">
        <span>
            
            {if $vo['remate'] == 0} <em class="no">等待确认</em>
                {elseif $vo['remate'] == 1} <em class="no"><font color="green">客服已确认</font></em> 
                {elseif $vo['remate'] == 2} <em class="no"><font color="red">已拒绝</font></em> 
                {elseif $vo['remate'] == 3} <em class="no"><font color="red">已完成</font></em> 				
            {/if}
        </span>
        </li>
</a>
<li>
    <a href="javascript:;"></a>
    <div class="text">
        <a href="javascript:;">
            <p>姓名：{$vo['truename']}</p>
            <p>性别：{if $vo['sex'] == 0}男{else}女{/if}</p>            
            <p>联系电话：{$vo['mobile']}</p>
            <p>教师姓名: {$vo['tecname']}</p>
            <p>我的备注: {$vo['info']}</p>
            <p>预约时间：{$vo['restime']}</p>
            <p>提交时间：{php echo date('Y-m-d',$vo['createtime'])}</p>
        </a>
        <div class="footReturn">
            <a href="javascript:;"></a>
            {if $vo['remate'] == 0}
                <a id="" style="color:#fff;" class="submit" href="{php echo $this->createMobileUrl('mylist',array("op" => 'delete','id' => $vo['id']))}" onclick="return(confirm('您确定要删除吗?删除表示您放弃本次预约.'));return false;">删除预约
                </a>
            {/if}
            {if $vo['remate'] >= 1}
                <p>
                    客服回复： <font color="#2c2a24">{$vo['kfinfo']}</font>
                </p>
            {/if}
                </div>
        </div>
</li>
{/loop}
</ul>
</div>

{template 'footer'}